package com.guaoran.micro.services.spring.cloud.eureka.client.user.service.provider;

import com.guaoran.micro.services.spring.cloud.eureka.client.user.api.service.UserService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

/**
 * {@link UserService 用户服务} 引导类
 *
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableHystrix //激活服务熔断
public class UserServiceProviderBootstrap {

    public static void main(String[] args) {
        SpringApplication.run(UserServiceProviderBootstrap.class, args);
    }
}
